import request from "@/utils/request";

/**
 * @description 计数
 * @returns {*}
 */
export function screenCounting(){
    return request({
        url:'/statistics/screenCounting',
        method:'GET',
    })
}

/**
 * 充电电量趋势
 * @returns {*}
 */
export function chargingPowerTrend(){
    return request({
        url:'/statistics/chargingPowerTrend',
        method:'GET',
    })
}


/**
 * 充电次数趋势
 * @returns {*}
 */
export function chargingFrequencyTrend(){
    return request({
        url:'/statistics/chargingFrequencyTrend',
        method:'GET',
    })
}

/**
 * 充电时间统计
 * @returns {*}
 */
export function chargingTimeStatistics(){
    return request({
        url:'/statistics/chargingTimeStatistics',
        method:'GET',
    })
}

/**
 * 电站类型占⽐
 * @returns {*}
 */
export function stationType(){
    return request({
        url:'/statistics/stationType',
        method:'GET',
    })
}

/**
 * 充电完成率
 * @returns {*}
 */
export function chargingCompletionRate(){
    return request({
        url:'/statistics/chargingCompletionRate',
        method:'GET',
    })
}

/**
 * top5充电次数
 * @returns {*}
 */
export function topFiveChargingTimes(){
    return request({
        url:'/statistics/topFiveChargingTimes',
        method:'GET',
    })
}

/**
 * top5充电容量
 * @returns {*}
 */
export function topFiveChargingCapacity(){
    return request({
        url:'/statistics/topFiveChargingCapacity',
        method:'GET',
    })
}

/**
 * 电站地图
 * @returns {*}
 */
export function stationMap(){
    return request({
        url:'/statistics/stationMap',
        method:'GET',
    })
}

/**
 * 地图弹出数据
 * @returns {*}
 */
export function mapPopupData(id){
    return request({
        url:'/statistics/mapPopupData',
        method:'GET',
        params:{id}
    })
}

/**
 * 终端列表
 * @param id
 * @returns {*}
 */
export function terminalDataList(id){
    return request({
        url:'/statistics/terminalDataList',
        method:'GET',
        params:{id}
    })
}

/**
 * 电站列表
 * @param params
 * @returns {*}
 */
export function powerStationsList(params){
    return request({
        url:'/screenPopUps/powerStationsList',
        method:'GET',
        params
    })
}

/**
 * 桩列表
 * @param params
 * @returns {*}
 */
export function pileList(params){
    return request({
        url:'/screenPopUps/pileList',
        method:'GET',
        params
    })
}

/**
 * 终端列表
 * @param params
 * @returns {*}
 */
export function terminalList(params){
    return request({
        url:'/screenPopUps/terminalList',
        method:'GET',
        params
    })
}

/**
 * 今天充电用户
 * @param params
 * @returns {*}
 */
export function chargingUsersToday(params){
    return request({
        url:'/screenPopUps/chargingUsersToday',
        method:'GET',
        params
    })
}

/**
 * 历史充电订单
 * @param params
 * @returns {*}
 */
export function historicalChargingOrder(params){
    return request({
        url:'/screenPopUps/historicalChargingOrder',
        method:'GET',
        params
    })
}

/**
 * 今天充电订单
 * @param params
 * @returns {*}
 */
export function chargingOrderToday(params){
    return request({
        url:'/screenPopUps/chargingOrderToday',
        method:'GET',
        params
    })
}

/**
 * 今天充值订单
 * @param params
 * @returns {*}
 */
export function rechargeOrderToday(params){
    return request({
        url:'/screenPopUps/rechargeOrderToday',
        method:'GET',
        params
    })
}

/**
 * 历史充值订单
 * @param params
 * @returns {*}
 */
export function historicalRechargeOrder(params){
    return request({
        url:'/screenPopUps/historicalRechargeOrder',
        method:'GET',
        params
    })
}

